interface CategoryListParamsType {
  page?: number
  limit?: number
  is_show?: '' | 0 | 1
  cate_name?: string
  pid?: number
}

interface CategoryListType {
  // [key: string]: any
  list: CategoryInfoType[]
  count: number
}

interface CategoryInfoType {
  cate_name: string
  is_show: number
  pid?: number
  id: number
  sort?: number
  pic?: string
  add_time?: string
  big_pic?: string
  children?: CategoryInfoType[]
  loading?: boolean
}

interface CategoryFormType {
  id?: number
  pid?: number | null
  cate_name: string
  is_show: number
  sort?: number
  pic?: string
  big_pic?: string
}
